//
// Created by 123 on 2024/12/26.
//
#include <stdio.h>
#include <string.h>
//定义地址结构体
struct Adress{
    char city[50];
    char country[50];
};

//定义学生结构体
struct Student{
    char name[50];
    int age;
    float score;
    struct Adress adress;
};

int main063(){
    struct Student s1;
    strcpy(s1.name,"jess");
    s1.age = 20;
    s1.score = 95.5;
    strcpy(s1.adress.city,"beijing");
    strcpy(s1.adress.country,"china");

    printf("name:%s\n",s1.name);
    printf("age:%d\n",s1.age);
    printf("score:%.2f\n",s1.score);
    printf("country:%s\n",s1.adress.country);
    printf("city:%s\n",s1.adress.city);
    return 0;
}